//
//  XSShootingButton.h
//  AudioVideo
//
//  Created by xueshan1 on 2019/8/23.
//  Copyright © 2019 xueshan1. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class XSShootingButton;
@protocol shootingCenterDelegate <NSObject>

-(void)shootingButton:(XSShootingButton *)btn longPressStart:(CGFloat)progress;

-(void)shootingButton:(XSShootingButton *)btn longPressEnd:(CGFloat)progress;

-(void)shootingButtonSingleTap:(XSShootingButton *)btn;

@end

@interface XSShootingButton : UIView

@property(nonatomic,weak)id longPressDelegate;
- (void)setupLayer;

@end

NS_ASSUME_NONNULL_END
